package ru.hh.team02.chat.messaging;

public class PublicMessage implements Message {
    private final String text;

    public String getText() {
        return text;
    }

    public boolean isPersonal() {
        return false;
    }

    /**
     * Create a message.
     *
     * @param text
     *            Message text
     */
    public PublicMessage(String text) {
        this.text = text;
    }

}
